net/netip.Prefix.bitsPlusOne (field)
4 uses
net/netip (current package)
netip.go#L1292: bitsPlusOne uint8
netip.go#L1310: bitsPlusOne: bitsPlusOne,
netip.go#L1320: func (p Prefix) Bits() int { return int(p.bitsPlusOne) - 1 }
netip.go#L1325: func (p Prefix) IsValid() bool { return p.bitsPlusOne > 0 }
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)